package com.beiding.workordersystem.common.dao;

import com.baomidou.mybatisplus.core.conditions.Wrapper;
import com.baomidou.mybatisplus.core.mapper.BaseMapper;

public interface ExpandBaseMapper<T> extends BaseMapper<T> {
    default boolean exist(Wrapper<T> wrapper) {
        return selectCount(wrapper) > 0;
    }
}
